package com.example.components.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * User: lu
 * Date: 2022/1/27
 * Time: 16:16
 * Version: 1.0
 * Modified By:
 * Description:
 */
@Configuration
@ConfigurationProperties(prefix = "lus.monitor")
@Data
public class ApplicationProperties {

    String name;

    long influxdbConnectTimeOut;

    long influxdbReadTimeOut;

    String influxdbUrl;

    String influxdbUrlRead;

    String influxdbUser;

    String influxdbPassword;

    int influxdbReadPoolSize;

    int influxdbReadTimeoutSeconds;


}
